package com.why.entity;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author new wei
 * @date 2022/5/30 9:22
 */
@Data
public class Search {
    private Integer page;
    private Integer pageSize;
    private String key;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date datea;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date dateb;
}
